package com.happycolor.qeuip.model;




public class Precourseqeevalindex  {
	private static final long serialVersionUID = 1L;

/*[CONSTRUCTOR MARKER BEGIN]*/
	public Precourseqeevalindex () {
		super();
	}

	private int hashCode = Integer.MIN_VALUE;

	// primary key
	private java.lang.Integer id;

	// fields
	private java.lang.Integer precouevaid;
	private java.lang.Integer parentindexid;
	private java.lang.Integer qeindexid;
	private java.lang.String qeindexdis;
	private java.lang.String qeindexname;
	private java.lang.Integer lmuser;
	private java.util.Date lmtime;
	private java.lang.Integer dstatus;



	/**
	 * Return the unique identifier of this class
     * @hibernate.id
     *  generator-class="sequence"
     *  column="ID"
     */
	public java.lang.Integer getId () {
		return id;
	}

	/**
	 * Set the unique identifier of this class
	 * @param id the new ID
	 */
	public void setId (java.lang.Integer id) {
		this.id = id;
		this.hashCode = Integer.MIN_VALUE;
	}




	/**
	 * Return the value associated with the column: PRECOUEVAID
	 */
	public java.lang.Integer getPrecouevaid () {
		return precouevaid;
	}

	/**
	 * Set the value related to the column: PRECOUEVAID
	 * @param precouevaid the PRECOUEVAID value
	 */
	public void setPrecouevaid (java.lang.Integer precouevaid) {
		this.precouevaid = precouevaid;
	}



	/**
	 * Return the value associated with the column: PARENTINDEXID
	 */
	public java.lang.Integer getParentindexid () {
		return parentindexid;
	}

	/**
	 * Set the value related to the column: PARENTINDEXID
	 * @param parentindexid the PARENTINDEXID value
	 */
	public void setParentindexid (java.lang.Integer parentindexid) {
		this.parentindexid = parentindexid;
	}



	/**
	 * Return the value associated with the column: QEINDEXID
	 */
	public java.lang.Integer getQeindexid () {
		return qeindexid;
	}

	/**
	 * Set the value related to the column: QEINDEXID
	 * @param qeindexid the QEINDEXID value
	 */
	public void setQeindexid (java.lang.Integer qeindexid) {
		this.qeindexid = qeindexid;
	}



	/**
	 * Return the value associated with the column: QEINDEXDIS
	 */
	public java.lang.String getQeindexdis () {
		return qeindexdis;
	}

	/**
	 * Set the value related to the column: QEINDEXDIS
	 * @param qeindexdis the QEINDEXDIS value
	 */
	public void setQeindexdis (java.lang.String qeindexdis) {
		this.qeindexdis = qeindexdis;
	}



	/**
	 * Return the value associated with the column: QEINDEXNAME
	 */
	public java.lang.String getQeindexname () {
		return qeindexname;
	}

	/**
	 * Set the value related to the column: QEINDEXNAME
	 * @param qeindexname the QEINDEXNAME value
	 */
	public void setQeindexname (java.lang.String qeindexname) {
		this.qeindexname = qeindexname;
	}



	/**
	 * Return the value associated with the column: LMUSER
	 */
	public java.lang.Integer getLmuser () {
		return lmuser;
	}

	/**
	 * Set the value related to the column: LMUSER
	 * @param lmuser the LMUSER value
	 */
	public void setLmuser (java.lang.Integer lmuser) {
		this.lmuser = lmuser;
	}



	/**
	 * Return the value associated with the column: LMTIME
	 */
	public java.util.Date getLmtime () {
		return lmtime;
	}

	/**
	 * Set the value related to the column: LMTIME
	 * @param lmtime the LMTIME value
	 */
	public void setLmtime (java.util.Date lmtime) {
		this.lmtime = lmtime;
	}



	/**
	 * Return the value associated with the column: DSTATUS
	 */
	public java.lang.Integer getDstatus () {
		return dstatus;
	}

	/**
	 * Set the value related to the column: DSTATUS
	 * @param dstatus the DSTATUS value
	 */
	public void setDstatus (java.lang.Integer dstatus) {
		this.dstatus = dstatus;
	}




	public boolean equals (Object obj) {
		if (null == obj) return false;
		if (!(obj instanceof com.happycolor.qeuip.model.Precourseqeevalindex)) return false;
		else {
			com.happycolor.qeuip.model.Precourseqeevalindex precourseqeevalindex = (com.happycolor.qeuip.model.Precourseqeevalindex) obj;
			if (null == this.getId() || null == precourseqeevalindex.getId()) return false;
			else return (this.getId().equals(precourseqeevalindex.getId()));
		}
	}

	public int hashCode () {
		if (Integer.MIN_VALUE == this.hashCode) {
			if (null == this.getId()) return super.hashCode();
			else {
				String hashStr = this.getClass().getName() + ":" + this.getId().hashCode();
				this.hashCode = hashStr.hashCode();
			}
		}
		return this.hashCode;
	}


	public String toString () {
		return super.toString();
	}


}